<!--{eval $_TPL['titles'] = array($fieldtitle, '家庭');}-->
<!--{template header}-->

<div class="searchbar">
	<form method="get" action="network.php">
		<table cellspacing="2" cellpadding="2" id="adv_search">
			<tr>
				<td>
					<select name="fieldid">
					<option value="0">选择分类</option>
					<!--{loop $_SGLOBAL[fprofield] $fieldid $value}-->
					<option value="$fieldid"$fieldids[$fieldid]>$value[title]</option>
					<!--{/loop}-->
					</select>
				</td>

				<td>家庭名*</td>
				<td>
					<input type="text" name="key" value="$gets[key]" size="15" class="t_input" />
				</td>
				<td>
				<input type="hidden" name="ac" value="mtag" />
				<input type="hidden" name="searchmode" value="1" />
				<input type="submit" name="searchsubmit" value="搜索" class="submit" />
				</td>
			</tr>
		</table>
	</form>
</div>

<h2 class="title"><img src="image/app/mtag.gif">家庭</h2>

<!--{if $space[self]}-->
<div class="tabs_header">
	<ul class="tabs">
		<li><a href="space.php?do=mftag"><span>我的家庭</span></a></li>
		<li class="active"><a href="network.php?ac=mftag&view=hot"><span>热门家庭</span></a></li>
		<li><a href="space.php?uid=$space[uid]&do=family"><span>家庭最新话题</span></a></li>
		<li><a href="space.php?uid=$space[uid]&do=family&view=me"><span>我发起的话题</span></a></li>
		<li class="null"><a href="cp.php?ac=mftag">创建我的家庭</a></li>
		<li class="null"><a href="cp.php?ac=family">发起新话题</a></li>
	</ul>
</div>
<!--{/if}-->

<div class="h_status">
家庭分类：
<a href="network.php?ac=mftag&view=hot"{$sub_actives[0]}>全部</a>
<!--{loop $_SGLOBAL['fprofield'] $value}-->
<span class="pipe">|</span><a href="space.php?do=mftag&id=$value[fieldid]"{$sub_actives[$value[fieldid]]}>$value[title]</a>
<!--{/loop}-->
</div>

<div class="box">
	<!--{if $list}-->
	<ul class="thread_list">
	<!--{loop $list $value}-->
		<li>
			<div class="threadimg60"><a href="space.php?do=mftag&tagid=$value[tagid]"><img src="$value[pic]" style="width:60px;"></a></div>
			<a href="space.php?do=mftag&tagid=$value[tagid]">$value[tagname]</a><br />
			已有 <span class="num">$value[membernum]</span> 人加入
		</li>
	<!--{/loop}-->
	</ul>
	<div class="page">$multi</div>
	<!--{else}-->
	<p>还没有家庭。</p>
	<!--{/if}-->
</div>

<!--{template footer}-->
